package com.xmut.rc.service;

import com.xmut.rc.entity.SysPermission;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @description: 权限接口
 * @author: XS
 * @date: 2022/5/23
 */
public interface SysPermissionService extends IService<SysPermission> {
    List<SysPermission> getAllPermission();

    List<SysPermission> getRolePermission(String roleId);

    List<SysPermission> getPermission(String token);
}
